var imgTool = require("helper/picture");

var imageView = ui("imageView");

ui("$").setMapping({
	"textFieldRemark.tag":"id",
	"textFieldRemark.hint" : "hint"
});

/** **************点击-添加图片-begin**************** */
var camera = ui("camera");
camera.on("touch", function(data, e) {
	imgTool.imgMulti(1, selectImgBack);// 选择多张图片
});

function selectImgBack(imgList) {
	 imgList.map(function(path) {
		 imageView.source=path;
		 imageView.tag=path;
	})
}
/** **************点击-添加图片-end**************** */
